From 5a932f3328d21908f76c682752c31556ad872df0 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 21 Jul 2008 16:24:19 +0100 Subject: [PATCH] doc: Fix multi-core amd example Signed-off-by: Jean Guyader --- tools/examples/xmexample.hvm | 12 +++++++----- tools/examples/xmexample.hvm-stubdom | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm index fa805c823c..b681dcc67e 100644 --- a/tools/examples/xmexample.hvm +++ b/tools/examples/xmexample.hvm @@ -247,12 +247,14 @@ serial='pty' #vcpus=8 # # Example for amd, expose a 5-core processor : -# cpuid = ['1:ebx=xxxxxxxx00000001xxxxxxxxxxxxxxxx, +# cpuid = ['1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx, # edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx', -# '0x80000008:ecx=xxxxxxxxxxxxxxxx0000xxxx00001010'] -# - CPUID.1[EBX] : (Thread * Cores ) per processors -# - CPUID.1[EDX][HT] : Enable HT -# - CPUID.0x80000008[ECX] : Number of vcpus * 2 +# '0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x', +# '0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001'] +# - CPUID.1[EBX] : Threads per Core * Cores per Socket (2 * #vcpus) +# - CPUID.1[EDX][HT] : Enable HT +# - CPUID.0x80000001[CmpLegacy] : Use legacy method +# - CPUID.0x80000008[ECX] : #vcpus * 2 - 1 #vcpus=5 # # Downgrade the cpuid to make a better compatibility for migration : diff --git a/tools/examples/xmexample.hvm-stubdom b/tools/examples/xmexample.hvm-stubdom index e1cbee9ca5..06adbf7daf 100644 --- a/tools/examples/xmexample.hvm-stubdom +++ b/tools/examples/xmexample.hvm-stubdom @@ -265,12 +265,14 @@ stdvga=0 #vcpus=8 # # Example for amd, expose a 5-core processor : -# cpuid = ['1:ebx=xxxxxxxx00000001xxxxxxxxxxxxxxxx, +# cpuid = ['1:ebx=xxxxxxxx00001010xxxxxxxxxxxxxxxx, # edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx', -# '0x80000008:ecx=xxxxxxxxxxxxxxxx0000xxxx00001010'] -# - CPUID.1[EBX] : (Thread * Cores ) per processors -# - CPUID.1[EDX][HT] : Enable HT -# - CPUID.0x80000008[ECX] : Number of vcpus * 2 +# '0x80000001:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1x', +# '0x80000008:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxx001001'] +# - CPUID.1[EBX] : Threads per Core * Cores per Socket (2 * #vcpus) +# - CPUID.1[EDX][HT] : Enable HT +# - CPUID.0x80000001[CmpLegacy] : Use legacy method +# - CPUID.0x80000008[ECX] : #vcpus * 2 - 1 #vcpus=5 # # Downgrade the cpuid to make a better compatibility for migration : -- 2.30.2